const Contacts = artifacts.require('KerwinToken.sol')
const exchange = artifacts.require('Exchange.sol')
module.exports =async function(deployer) {
    await deployer.deploy(Contacts)

    const accounts = await web3.eth.getAccounts()//获取所有账号，模拟的10个账号
    //构造函数两个参数（账号，费率10%）
    await deployer.deploy(exchange, accounts[2],10)
}